Verifying and Saving Your Configuration


Verifying and Saving Your Configuration
 
 
This chapter describes how to save your system configuration.
 
Verifying the Configuration
You can use a number of commands to verify the configuration of your feature, service, or system. Many are hierarchical in their implementation and some are specific to portions of, or specific lines in, the configuration file.
 
Feature Configuration
In many configurations, you have to set and verify specific features. Examples include APN and IP address pool configuration. Using these examples, enter the following commands to verify proper feature configuration:
show apn all
The output displays the complete configuration for the APN. In this example, an APN called apn1 is configured.
access point name (APN): apn
authentication context: A
pdp type: ipv4
ehrpd access: N/A
Selection Mode: subscribed
ip source violation: Checked drop limit: 10
ip source violation no accounting: Disabled
accounting mode: gtpp No early PDUs: Disabled
no-interims: Disabled
Bearer Control Mode: none
max-primary-pdp-contexts: 4000000 total-pdp-contexts: 4000000
primary contexts: not available total contexts: not available
max secondary contexts per-subscriber:10 IMS Authorization : disabled
Credit Control : disabled
mbms bearer absolute timeout : 0 mbms bearer idle timeout : 0
mbms ue absolute timeout : 0
permission :
local ip: 0.0.0.0 nexthop gateway addr:
primary dns: 0.0.0.0 secondary dns: 0.0.0.0
primary nbns: 0.0.0.0 secondary nbns: 0.0.0.0
ppp keep alive period : 0 ppp mtu : 1500
absolute timeout : 0 idle timeout : 0
idle-timeout-activity ignore-downlink: Disabled
long duration timeout: 0 long dur inactivity time: 0
long duration action: Detection
wimax header compression/suppression: none
ip header compression: vj
ip hide service address: Disabled
ip output access-group: ip input access-group:
ipv6 output access-group: ipv6 input access-group:
policy-group in: policy-group out:
permit ip multicast: False
ppp authentication:
eap authentication initial-access-request: authenticate-authorize
allow noauthentication: Enabled imsi authentication: Disabled
msisdn authentication: Disabled
ip destination context : A
Rule Base : default
FW-and-NAT Policy: default
Bandwidth-Policy: default
Link-Monitoring: OFF
Content-Filtering Policy-Id : Not configured
mediation accounting: Disabled
mediation-device context: Not set mediation no early PDUs: Disabled
mediation no-interims: Disabled mediation delay-GTP-response: Disabled
outbound username: N/A
ip address pools: N/A
ip address secondary pools: N/A
access-link ip-frag: df-ignore
ignore DF-bit data-tunnel: On
ip allocation type: local pool allow user specified ip addr: true
prefer dhcp options: false
allow deferred: false
3gpp qos to dscp mapping:
qci 1: ef
qci 2: ef
qci 3: af11
qci 4: af11
qci 5: ef
qci 6: ef
qci 7: af21
qci 8: af21
qci 9: be
3GPP Qos to DSCP Mapping based on Alloc. Prio:
qci 5 ( Alloc.P 1): ef
qci 5 ( Alloc.P 2): ef
qci 5 ( Alloc.P 3): ef
qci 6 ( Alloc.P 1): ef
qci 6 ( Alloc.P 2): ef
qci 6 ( Alloc.P 3): ef
qci 7 ( Alloc.P 1): af21
qci 7 ( Alloc.P 2): af21
qci 7 ( Alloc.P 3): af21
qci 8 ( Alloc.P 1): af21
qci 8 ( Alloc.P 2): af21
qci 8 ( Alloc.P 3): af21
Copy user-datagram IP TOS : Disabled
APN defined Charging Characteristics:
Home Subscribers:
Behavior Bits: 0x0 Profile Value: 8
Visiting Subscribers:
Behavior Bits: 0x0 Profile Value: 8
Roaming Subscribers:
Behavior Bits: 0x0 Profile Value: 8
All (Home/Visiting/Roaming) Subscribers:
Behavior Bits: 0x0 Profile Value: 8
Subscribers to use APN defined charging characteristics: none
Subscribers to use RADIUS returned charging characteristics: No
PDG Subscribers to use APN defined charging characteristics: none
dhcp service name : Not set
dhcp context name : Not set
dhcp lease expiry policy: auto renew
mobile-ip: Disabled
mobile-ip home-agent : 0.0.0.0
mobile-ip alternate-home-agent(s) : n/a
mobile-ip reverse-tunnel : Enabled
mobile-ip mn-aaa-removal-indication : Disabled
mobile-ip mn-ha-spi: None
mobile-ip mn-ha-hash-algorithm: hmac-md5
proxy-mip: Disabled
proxy-mipv6: Disabled
proxy-mip null-username static home address: Disabled
Tunnel peer load-balancing : random
L3-to-L2 tunnel address-policy no-alloc-validate
tunnel address-policy alloc-validate
NPU QoS Traffic Priority: Derive from packet DSCP
APN QoS Attributes
Newcall Policy: Accept
SDU Error Ratio: Residual BER:
qci 1
Downlink Negotiate Limit: Disabled Uplink Negotiate Limit: Disabled
Peak Data Rate(in bps): 256000000 Peak Data Rate(in bps): 256000000
Committed Data Rate(in bps): 256000000 Committed Data Rate(in bps): 256000000
Downlink Rate Limit: Disabled Uplink Rate Limit: Disabled
Burst Size: Burst Size:
Auto Readjust: Disabled Auto Readjust: Disabled
Auto Readjust Duration: n/a Auto Readjust Duration: n/a
Peak Burst Size(bytes): 65535 Peak Burst Size(bytes): 65535
Guaranteed Burst Size(bytes): 65535 Guaranteed Burst Size(bytes): 65535
Exceed Action: lower-ip-precedence Exceed Action: lower-ip-precedence
Violate Action: drop Violate Action: drop
qci 2
Downlink Negotiate Limit: Disabled Uplink Negotiate Limit: Disabled
Peak Data Rate(in bps): 256000000 Peak Data Rate(in bps): 256000000
Committed Data Rate(in bps): 256000000 Committed Data Rate(in bps): 256000000
Downlink Rate Limit: Disabled Uplink Rate Limit: Disabled
Burst Size: Burst Size:
Auto Readjust: Disabled Auto Readjust: Disabled
Auto Readjust Duration: n/a Auto Readjust Duration: n/a
Peak Burst Size(bytes): 65535 Peak Burst Size(bytes): 65535
Guaranteed Burst Size(bytes): 65535 Guaranteed Burst Size(bytes): 65535
Exceed Action: lower-ip-precedence Exceed Action: lower-ip-precedence
Violate Action: drop Violate Action: drop
qci 3
Downlink Negotiate Limit: Disabled Uplink Negotiate Limit: Disabled
Peak Data Rate(in bps): 256000000 Peak Data Rate(in bps): 256000000
Committed Data Rate(in bps): 256000000 Committed Data Rate(in bps): 256000000
Downlink Rate Limit: Disabled Uplink Rate Limit: Disabled
Burst Size: Burst Size:
Auto Readjust: Disabled Auto Readjust: Disabled
Auto Readjust Duration: n/a Auto Readjust Duration: n/a
Peak Burst Size(bytes): 65535 Peak Burst Size(bytes): 65535
Guaranteed Burst Size(bytes): 65535 Guaranteed Burst Size(bytes): 65535
Exceed Action: lower-ip-precedence Exceed Action: lower-ip-precedence
Violate Action: drop Violate Action: drop
qci 4
Downlink Negotiate Limit: Disabled Uplink Negotiate Limit: Disabled
Peak Data Rate(in bps): 256000000 Peak Data Rate(in bps): 256000000
Committed Data Rate(in bps): 256000000 Committed Data Rate(in bps): 256000000
Downlink Rate Limit: Disabled Uplink Rate Limit: Disabled
Burst Size: Burst Size:
Auto Readjust: Disabled Auto Readjust: Disabled
Auto Readjust Duration: n/a Auto Readjust Duration: n/a
Peak Burst Size(bytes): 65535 Peak Burst Size(bytes): 65535
Guaranteed Burst Size(bytes): 65535 Guaranteed Burst Size(bytes): 65535
Exceed Action: lower-ip-precedence Exceed Action: lower-ip-precedence
Violate Action: drop Violate Action: drop
qci 5
Downlink Negotiate Limit: Disabled Uplink Negotiate Limit: Disabled
Peak Data Rate(in bps): 256000000 Peak Data Rate(in bps): 256000000
Committed Data Rate: n/a Committed Data Rate: n/a
Downlink Rate Limit: Disabled Uplink Rate Limit: Disabled
Burst Size: Burst Size:
Auto Readjust: Disabled Auto Readjust: Disabled
Auto Readjust Duration: n/a Auto Readjust Duration: n/a
Peak Burst Size(bytes): 65535 Peak Burst Size(bytes): 65535
Guaranteed Burst Size(bytes): n/a Guaranteed Burst Size(bytes): n/a
Exceed Action: n/a Exceed Action: n/a
Violate Action: drop Violate Action: drop
qci 6
Downlink Negotiate Limit: Disabled Uplink Negotiate Limit: Disabled
Peak Data Rate(in bps): 256000000 Peak Data Rate(in bps): 256000000
Committed Data Rate: n/a Committed Data Rate: n/a
Downlink Rate Limit: Disabled Uplink Rate Limit: Disabled
Burst Size: Burst Size:
Auto Readjust: Disabled Auto Readjust: Disabled
Auto Readjust Duration: n/a Auto Readjust Duration: n/a
Peak Burst Size(bytes): 65535 Peak Burst Size(bytes): 65535
Guaranteed Burst Size(bytes): n/a Guaranteed Burst Size(bytes): n/a
Exceed Action: n/a Exceed Action: n/a
Violate Action: drop Violate Action: drop
qci 7
Downlink Negotiate Limit: Disabled Uplink Negotiate Limit: Disabled
Peak Data Rate(in bps): 256000000 Peak Data Rate(in bps): 256000000
Committed Data Rate: n/a Committed Data Rate: n/a
Downlink Rate Limit: Disabled Uplink Rate Limit: Disabled
Burst Size: Burst Size:
Auto Readjust: Disabled Auto Readjust: Disabled
Auto Readjust Duration: n/a Auto Readjust Duration: n/a
Peak Burst Size(bytes): 65535 Peak Burst Size(bytes): 65535
Guaranteed Burst Size(bytes): n/a Guaranteed Burst Size(bytes): n/a
Exceed Action: n/a Exceed Action: n/a
Violate Action: drop Violate Action: drop
qci 8
Downlink Negotiate Limit: Disabled Uplink Negotiate Limit: Disabled
Peak Data Rate(in bps): 256000000 Peak Data Rate(in bps): 256000000
Committed Data Rate: n/a Committed Data Rate: n/a
Downlink Rate Limit: Disabled Uplink Rate Limit: Disabled
Burst Size: Burst Size:
Auto Readjust: Disabled Auto Readjust: Disabled
Auto Readjust Duration: n/a Auto Readjust Duration: n/a
Peak Burst Size(bytes): 65535 Peak Burst Size(bytes): 65535
Guaranteed Burst Size(bytes): n/a Guaranteed Burst Size(bytes): n/a
Exceed Action: n/a Exceed Action: n/a
Violate Action: drop Violate Action: drop
qci 9
Downlink Negotiate Limit: Disabled Uplink Negotiate Limit: Disabled
Peak Data Rate(in bps): 256000000 Peak Data Rate(in bps): 256000000
Committed Data Rate: n/a Committed Data Rate: n/a
Downlink Rate Limit: Disabled Uplink Rate Limit: Disabled
Burst Size: Burst Size:
Auto Readjust: Disabled Auto Readjust: Disabled
Auto Readjust Duration: n/a Auto Readjust Duration: n/a
Peak Burst Size(bytes): 65535 Peak Burst Size(bytes): 65535
Guaranteed Burst Size(bytes): n/a Guaranteed Burst Size(bytes): n/a
Exceed Action: n/a Exceed Action: n/a
Violate Action: drop Violate Action: drop
APN-AMBR
Downlink Apn Ambr : Disabled Uplink Apn Ambr : Disabled
Burst Size: Burst Size:
Auto Readjust: Enabled Auto Readjust: Enabled
Auto Readjust Duration: 1 Auto Readjust Duration: 1
Violate Action: transmit Violate Action: transmit
ppp accept peer ipv6 ifid : no
ipv6 init router advt interval : 3000
ipv6 init router number of advts : 3
ipv6 address prefix : <none>ipv6 address prefix pool : <none>
ipv6 interface id : <none>
ipv6 dns primary server : <none>
ipv6 dns secondary server : <none>
p-cscf primary ip : 0.0.0.0 p-cscf secondary ip : 0.0.0.0
p-cscf primary ipv6 : <none>
p-cscf secondary ipv6 : <none>
ipv6 egress address filtering : no
ipv6 dsn proxy : no
ipv6 minimum link MTU : 1280
Radius Group: default
Radius Secondary Group: <none>
External AAA Group: default
External AAA Context: A
Radius Returned Framed IP Address 255.255.255.255 Policy: Reject-Call-When-MS-IP -Not-Supplied
Access-flow traffic-validation: disabled
Virtual APN Configuration:
None
IPv6 Configuration
IPv6 initial number of router advertisements: 3
IPv6 initial router advertisements interval: 3000ms
IPv6 Prefix Pool: Not defined
IPv6 Egress address filtering: Disabled
IPv6 Primary DNS server address: ::
IPv6 Secondary DNS server address: ::
GTPP Group : <none> GTPP Accounting Context : <none>
Mobile IPv6 Tunnel MTU : 1500
Mobile IPv6 Tunnel MTU Exceed Action : notify-sender
Mobile IPv6 Home Agent: none
Mobile IPv6 Home Link Prefix: ::/0
Mobile IPv6 Home Address: none
Enter the following command to display the IP address pool configuration:
show ip pool
The output from this command should look similar to the sample shown below. In this example, all IP pools were configured in the isp1 context.
context : isp1:
+-----Type: (P) - Public (R) - Private
| (S) - Static (E) - Resource
|
|+----State: (G) - Good (D) - Pending Delete (R)-Resizing
||
||++--Priority: 0..10 (Highest (0) .. Lowest (10))
||||
||||+-Busyout: (B) - Busyout configured
|||| |||||| vvvvv Pool Name Start Address Mask/End Address Used Avail
----- --------- --------------- --------------- -------- --------
PG00 ipsec 12.12.12.0 255.255.255.0 0 254 PG00
pool1 10.10.0.0 255.255.0.0 0 65534 SG00
vpnpool 192.168.1.250 192.168.1.254 0 5 Total Pool Count: 5
note_smallImportant: To configure features on the system, use the show commands specifically for these features. Refer to the Cisco Systems ASR 5000 Command Line Interface Reference for more information.
 
Service Configuration
Verify that your service was created and configured properly by entering the following command:
show <service_type> <service_name>
The output is a concise listing of the service parameter settings similar to the sample displayed below. In this example, a P-GW service called pgw is configured.
Service name : pgw1
Service-Id : 1
Context : test1
Status : STARTED
Restart Counter : 8
EGTP Service : egtp1
LMA Service : Not defined
Session-Delete-Delay Timer : Enabled
Session-Delete-Delay timeout : 10000(msecs)
PLMN ID List : MCC: 100, MNC: 99
Newcall Policy : None
 
Context Configuration
Verify that your context was created and configured properly by entering the following command:
show context name <name>
The output shows the active context. Its ID is similar to the sample displayed below. In this example, a context named test1 is configured.
Context Name     ContextID     State
------------     ---------     -----
test1            2          Active
 
System Configuration
Verify that your entire configuration file was created and configured properly by entering the following command:
show configuration
This command displays the entire configuration including the context and service configurations defined above.
 
Finding Configuration Errors
Identify errors in your configuration file by entering the following command:
show configuration errors
This command displays errors it finds within the configuration. For example, if you have created a service named “service1”, but entered it as “srv1” in another part of the configuration, the system displays this error.
You must refine this command to specify particular sections of the configuration. Add the section keyword and choose a section from the help menu:
show configuration errors section ggsn-service
or
show configuration errors section aaa-config
If the configuration contains no errors, an output similar to the following is displayed:
################################################################################
Displaying Global
AAA-configuration errors ################################################################################
Total 0 error(s) in this section !
 
Saving the Configuration
Save system configuration information to a file locally or to a remote node on the network. You can use this configuration file on any other systems that require the same configuration.
Files saved locally can be stored in the SMC’s CompactFlash or on an installed PCMCIA memory card on the SMC. Files that are saved to a remote network node can be transmitted through FTP, or TFTP.
 
Saving the Configuration on the Chassis
These instructions assume that you are at the root prompt for the Exec mode:
[local]host_name#
To save your current configuration, enter the following command:
 
save configuration url [-redundant] [-noconfirm] [showsecrets] [verbose]
Specifies the path and name to which the configuration file is to be stored. url may refer to a local or a remote file. url must be entered using one of the following formats:
tftp://{ ipaddress | host_name [ :port# ] } [ /directory ] /file_name
ftp://[ username [ :pwd ] @ ] { ipaddress | host_name } [ :port# ] [ /directory ] /file_name
sftp://[ username [ :pwd ] @ ] { ipaddress | host_name } [ :port# ] [ /directory ] /file_name
/flash corresponds to the CompactFlash on the SMC.
/pcmcia1 corresponds to PCMCIA slot 1.
/pcmcia2 corresponds to PCMCIA slot 2.
ipaddress is the IP address of the network server.
host_name is the network server’s hostname.
port# is the network server’s logical port number. Defaults are:
Note: host_name can only be used if the networkconfig parameter is configured for DHCP and the DHCP server returns a valid nameserv er.dx
username is the username required to gain access to the server if necessary.
password is the password for the specified username if required.
/directory specifies the directory where the file is located if one exists.
/file_name specifies the name of the configuration file to be saved.
note_smallImportant: The -redundant keyword is only applicable when saving a configuration file to local devices. This command does not synchronize the local file system. If you have added, modified, or deleted other files or directories to or from a local device for the active SMC, you must synchronize the local file system on both SMCs.
 
To save a configuration file called system.cfg to a directory that was previously created called cfgfiles on the SMC’s CompactFlash, enter the following command:
save configuration /flash/cfgfiles/system.cfg
To save a configuration file called simple_ip.cfg to a directory called host_name_configs, using an FTP server with an IP address of 192.168.34.156, on which you have an account with a username of administrator and a password of secure, use the following command:
save configuration ftp://administrator:secure@192.168.34.156/host_name_configs/ simple_ip.cfg
To save a configuration file called init_config.cfg to the root directory of a TFTP server with a hostname of config_server, enter the following command:
save configuration tftp://config_server/init_config.cfg
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883